package com.fowo.api.syncAmazon.mapper;

import com.fowo.api.entity.FbaShipment;
import com.fowo.api.entity.FbaShipmentProduct;
import org.apache.ibatis.annotations.Mapper;
import org.beetl.sql.mapper.BaseMapper;

import java.util.List;

@Mapper
public interface ShipmentMapper extends BaseMapper<FbaShipment> {

    boolean insertShipment(List<FbaShipment> list);

    boolean updateShipment(List<FbaShipment> list);

    List<String> getAllShipmentId();

    List<String> getAllSku();

    boolean insertShipmentProduct(List<FbaShipmentProduct> list);
    boolean updateShipmentProduct(List<FbaShipmentProduct> list);

}
